package com.starsea.book.ui.newpage.pop

import android.content.Context
import android.widget.TextView
import com.lxj.xpopup.core.CenterPopupView
import com.starsea.book.R
import com.starsea.book.ui.newpage.normalview.RadiusLinearLayout

/**
 * @author Lee
 * @createTime 2023-08-04 16 GMT+8
 * @desc : 补签
 */
class WithdrawDealPop(
    var mContext: Context,
    var content: String = "0",
    var onResult: ((type: Int) -> Unit)? = null
) :
    CenterPopupView(mContext) {

    lateinit var tv_content: TextView
    lateinit var rll_confim: RadiusLinearLayout


    override fun getImplLayoutId(): Int {
        return R.layout.layout_withdraw_deal
    }

    override fun onCreate() {
        super.onCreate()

        tv_content = findViewById(R.id.tv_content)
        rll_confim = findViewById(R.id.rll_confim)

        tv_content.text = "${content}元提现申请"

        rll_confim.setOnClickListener {
            dismiss()
        }

    }


}